package com.joysuch.wwyt.edu.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 培训记录计算一段时间内学时，实体类
 */
@Data
public class EduTrainTimeBean {

    @ApiModelProperty("人员id")
    private Long userId;
//    @ApiModelProperty("人员姓名")
//    private String userName;

    @ApiModelProperty("部门id")
    private Long departId;
//    @ApiModelProperty("部门名称")
//    private String departName;

    @ApiModelProperty("岗位名称")
    private Long jobId;

    @ApiModelProperty("开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date beginTime;

    @ApiModelProperty("结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endTime;

    private String name;

//    private Integer pageNo;
//    private Integer pageSize;

}
